<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
    String path = request.getContextPath();
			String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
%>
<nav class="navbar navbar-inverse navbar-fixed-top">
	<div class="container">
		<div class="navbar-header">
			<button aria-controls="navbar" aria-expanded="false"
				data-target="#navbar" data-toggle="collapse"
				class="navbar-toggle collapsed" type="button">
				<span class="sr-only">Toggle navigation</span> <span
					class="icon-bar"></span> <span class="icon-bar"></span> <span
					class="icon-bar"></span>
			</button>
			<a href="#" class="navbar-brand">钉钉群聊机器人管理系统</a>
		</div>
		<div class="navbar-collapse collapse" id="navbar">
			<ul class="nav navbar-nav">
				<li><a href="chatBot/listChatBot">群聊机器人管理</a></li>
				<li><a href="task/listTask">任务管理</a></li>
				<li><a href="">统计信息</a></li>
				<li><a href="">用户管理</a></li>
				<li class="dropdown"><a href="javascript:void(0)"
					class="dropdown-toggle" data-toggle="dropdown">用户<s:if
							test="loginUser!=null"> : <s:property
								value="loginUser.name" />
						</s:if><b class="caret"></b>
				</a>
					<ul class="dropdown-menu">
						<s:if test="loginUser==null">
							<li><a href="login">登录</a></li>
							<li><a href="reg">注册</a></li>
						</s:if>
						<s:else>
							<li><a href="logout.action">个人信息</a></li>
							<li><a href="logout.action">注销</a></li>
						</s:else>
					</ul></li>
			</ul>
		</div>
		<!--/.nav-collapse -->
	</div>
</nav>
<div class="container theme-showcase" role="main">

	<div class="alert alert-success" role="alert">...</div>
</div>